package main

import "fmt"

func main() {
	var name [3] string

	name[0] = "zhang"
	name[1] = "san"
	fmt.Println(name)


	var array  = [...] int {2,3,44,3,2}
	fmt.Println(array)


	var array1 = [3] int {0,23,4}
	fmt.Println(array1)

	for i := 0; i < len(array) ; i++  {
		fmt.Println(array[i])
	}


	/* 指向整型*/
	a := 1000
	var ip *int
	ip = &a
	fmt.Println(*ip)






}